/* This file is part of Gwt--Calendar.
 * Copyright (C) 2011 Vertix Technologies, ltd.
 *
 * Gwt--Calendar is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Gwt--Calendar is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Gwt--Calendar.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.vertixtech.gwt.gwtcalendar.shared.domain;

import java.util.Date;

import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.vertixtech.gwt.gwtcalendar.server.domain.Event;
import com.vertixtech.gwt.gwtcalendar.server.domain.GuestsPermissions;
import com.vertixtech.gwt.gwtcalendar.server.requestFactory.DomainLocator;

/**
 * A proxy interface for the @Event domain.
 * 
 * @author Asaf Shakarchi
 */
@ProxyFor(value = Event.class, locator = DomainLocator.class)
public interface EventProxy extends AbstractDomainProxy {
	String getTitle();

	void setTitle(String newTitle);

	String getDescription();

	void setDescription(String newDescription);

	Date getStart();

	void setStart(Date newStart);

	Date getEnd();

	void setEnd(Date newDate);

	String getTimezone();

	void setTimezone(String newTimezone);

	Boolean getAllDay();

	void setAllDay(Boolean newAllDay);

	// TODO: private Repeat getRepeat();
	String getLocation();

	void setLocation(String newLocation);

	CalendarProxy getCalendar();

	void setCalendar(CalendarProxy newCalendar);

	String getColor();

	void setColor(String newColor);
	
	public GuestsPermissions getGuestsPermissions();

	public void setGuestsPermissions(GuestsPermissions guestsPermissions);
}
